<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});
Route::get('abc','RoleController@addUser');
Route::get('add/role','RoleController@addRole');
Route::get('valid','UserController@wechatValid');
Route::get('kf','UserController@getKf');
Route::get('tem','UserController@getTemplateList');
Route::get('user','UserController@getUserList');
Route::get('send','UserController@sendTemplate');
Route::get('captcha/{id}','LoginController@vericode');
Route::post('valid','UserController@wechatPostMessage');
Route::post('login','LoginController@login');
Route::post('add','ListController@addPatienData');
Route::post('update','ListController@updatePatienData');
Route::get('index','LoginController@index');
Route::get('user','LoginController@getUserInfo');
Route::get('list','ListController@patienList');
Route::get('select/{name}','ListController@selectKeyWord');
Route::get('cd','ListController@test');
Route::get('show/{id}','ListController@getDataList');
Route::get('delete/{id}','ListController@delete');
Route::post('upload','ListController@uploadImages');
